<template>
	<view class="myProductList_Item">
		<van-card
		  :price="productMsg.price"
		  :title="productMsg.msg"
		  :thumb="productMsg.img"
		>
		  <view slot="footer">
		    <van-button size="small" icon="setting">修改产品</van-button>
		    <van-button size="small" icon="delete">删除产品</van-button>
		  </view>
		</van-card>
	</view>
</template>

<script>
	import vanButton from '@/wxcomponents/vant/@vant/button'
	import vanCard from '@/wxcomponents/vant/@vant/card'
	export default{
		props:{
			productMsg:{
				type:Object
			}
		},
		components:{
			vanButton,vanCard
		}
	}
</script>

<style lang="less">
	.myProductList_Item{
		width: 98%;
		margin: 1rem auto;
		box-sizing: border-box;
		padding: .5rem;
	}
</style>